package com.test;

import java.text.NumberFormat;
import java.util.*;
import java.util.stream.Collectors;

/**
 * @author W.S.
 * @version v4.0.0
 * @description
 * @date Created in 2018/9/17 10:49
 */
public class Demo {
    public static void main(String[] args) {
        String tet = "^[0-9a-zA-Z_]{1,20}$";
        String v = "zz_BAfcdfe6200167";
        System.out.println(v.matches(tet));
        Map<String,Draw> maps = new LinkedHashMap<>();
        maps.put("sf",new Draw("wew",1,1));
        maps.put("sdfwe",new Draw("vdsfga",2,2));
        maps.put("wrwt",new Draw("vbzvxc",3,3));
        maps.put("bvss",new Draw("jfyj",4,4));
        Demo demo = new Demo();
        // demo.test(maps);
        Map<String,String> ne = new HashMap<>();
        ne.put("温赛","32weff");
        System.out.println(ne.get("温赛"));
        long sort = 1;
        for(int i = 0 ; i<12 ;i++){
            long tst = System.currentTimeMillis()+sort;
            sort++;
            System.out.println(tst);
        }


    }

    private void test(Map<String,Draw> maps){
        List<Draw> newlist = new ArrayList<>(maps.values());
        System.out.println(newlist);
    }
}
